<template>
 <div class="bookBox">
 <div class="nav">
        <div class="bookBox-nav">
                <img :src="img" alt="">   
        </div>
         <div class="bookBox-nav-R">
                <b>{{title}}</b>
                <div class="small">
                    <span>{{pro1}}</span>
                    <span>{{pro2}}</span>
                </div>
                <div class="last">
                    <span>{{pro3}}</span>
                    <span>{{pro4}}</span>
                </div>
            </div>
         </div>
 </div>
</template>

<script>
export default {
props:["img","title","pro1","pro2","pro3","pro4"]
}
</script>

<style scoped>
.bookBox{
    width: 100%;
    height: 1.06rem;
    margin-top: 0.2rem;
}
.bookBox .nav{
    width: 3rem;
    height: 1.06rem;
    margin: auto;
    display: flex; 
}
.bookBox-nav{
    width: 0.8rem;
    height: 1.06rem;
    border:1px solid gainsboro;
}
.nav .bookBox-nav-R{
 margin-left: 0.25rem;
}
 .nav .bookBox-nav-R .small{
    margin-top: 0.1rem; 
}
.nav .bookBox-nav-R .small span{
    margin-right: 0.25rem;
}
.nav .bookBox-nav-R .last{
     display: flex;
    justify-content: space-between;
     margin-top: 0.3rem;
    
}


</style>